<?php
/**
 * Description of ContentIndex
 *
 * @author ananda
 */
class Model_Message_ContentList extends Pattern_Memcache_List
{
    public $conn_db = 'mysql';
    public $conn_cache = 'memcache';

    public $table_name = 'content';

    public $sql_append   = 'INSERT INTO `content` (id, people, sender_id, sender, category, createdat, data) VALUES (:id, :people, :sender_id, :sender, :category, :createdat, :data)';
    public $sql_read     = 'SELECT * FROM content WHERE id IN (:id_list)';
    public $sql_renew_id = 'SELECT max(id) FROM content';

}
